<template>
  <NavItem />
</template>

<script>
import NavItem from "@/components/NavItem/index.vue";
export default {
  components: {
    NavItem,
  },
  data () {
    return {
      msg: [
        {
          "number": 7,
          "background": "rgb(51, 202, 187)",
          "icon": "el-icon-message",
          "title": "已提交"
        },
        {
          "number": 7,
          "background": "rgb(250, 166, 75)",
          "icon": "el-icon-user",
          "title": "已提交"
        },
        {
          "number": 0,
          "background": "rgb(21, 195, 119)",
          "icon": "el-icon-circle-check",
          "title": "已通过"
        },
        {
          "number": 0,
          "background": "rgb(51, 202, 187)",
          "icon": "el-icon-circle-close",
          "title": "未通过"
        }
      ],
    };
  },
  mounted () {
    setTimeout(() => {
      console.log(this.msg)
      this.$bus.$emit("getNavItem", this.msg);
    }, 200);
  },
};
</script>

<style>
</style>